|
Menu location |
---|
Drafting → Arc tools → Arc by 3 points 2D Drafting → Arc by 3 points |
Workbenches |
Draft, BIM |
Default shortcut |
A T |
Introduced in version |
0.19 |
See also |
Draft Arc, Draft Circle |
底图三圆周点绘弧工具通过输入4个点:中点、半径、第一个点、最后一点,或拾取的切线,或上述若干组合,在当前的工作平面上创建一条圆弧。它将根据Draft Tray中的Draft Linestyle设置来创建对应圆弧。
A Draft Arc is in fact a Draft Circle with a 数据First Angle that is not the same as its 数据Last Angle.
根据圆周上的3个点而定义的弧
See also: Draft Tray, Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
弧对象享有Draft Circle中的所有属性,但是有些属性仅对圆形而言才有意义。
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a Draft Arc by 3 points use the make_arc_3points
method of the Draft module:
arc = make_arc_3points(points, placement=None, face=False, support=None, map_mode="Deactivated", primitive=False)
arc
object from the given points
list.placement
is given, the center of the circular arc will be moved to this place. See Placement for more information.face
is True
, the arc will make a face, that is, it will appear filled.support
is given, it is a LinkSubList
, that is, a list indicating an object and a subelement of that object. This is used so that the object appears referenced to this support.support=[(obj, ("Face1"))]
.map_mode
is given, it is a string defining a type of mapping, for example: map_mode='FlatFace'
, map_mode='ThreePointsPlane'
, etc. See Part EditAttachment for more information.primitive
is True
, the arc created will be a simple Part Feature, not a complex Draft object.Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
points = [App.Vector(0, 0, 0),
App.Vector(5, 10, 0),
App.Vector(10, 0, 0)]
arc = Draft.make_arc_3points(points)
doc.recompute()